package win

import (
	// . "gitee.com/AlmondLee/gf-tools/tst"
	"time"

	. "gitee.com/AlmondLee/gitee.com/AlmondLee/gf-tools/tst"

	"github.com/gogf/gf/debug/gdebug"
)

func WinNotCloseWindow() {
	if err := recover(); err != nil {
		P(`--------------------------------------`)
		P("Work failed with %s ", err)
		// Pl(err)
		P(`--------------------------------------`)
		gdebug.PrintStack(0)

		time.Sleep(777200e9)
	}
	time.Sleep(777200e9)
}
